#include <stdio.h>
#include <string.h>
int  Judger( char  a[ ]);
int main()
{	   	  	 	 	  
    char a[80];
    int flag;
    gets(a);
    flag = Judger(a);
    if (flag == 1)
    {	   	  	 	 	  
        puts(a);
    }
    else
    {	   	  	 	 	  
        printf("No!");
    }
    return 0;
}	   	  	 	 	  
int  Judger( char  *a)
{	   	  	 	 	  
    char *pStar, *pEnd;
    int i, j, flag = 1;
    j = strlen(a);
    pStar = &a[0];
    pEnd = &a[j - 1];
    for (i = 0; i < (j / 2); i++)
    {	   	  	 	 	  
        if (*pStar != *pEnd)
        {	   	  	 	 	  
            flag = 0;
        }
        pStar++;
        pEnd--;
    }
    return flag;
}	   	  	 	 	  
